package com.ciaojian.bytedance.vo.bytedance;

import com.ciaojian.core.base.annotation.ByteDanceFieldName;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class DyLoginVo  implements Serializable {

//    {
//        "appid": "ttabc****",
//            "secret": "d428**************7",
//            "anonymous_code": "",
//            "code": "iOyVA5hc*******"
//    }
    @ByteDanceFieldName("code")
    @ApiModelProperty("login 接口返回的登录凭证")
    private String code;

    @ApiModelProperty("login 接口返回的匿名登录凭证")
    private String anonymousCode;
}
